<template>
	<div class="login-wrap">
        <div class="ms-login">
            <div class="ms-title">photographicSystem</div>
            <el-form :model="formInline" :rules="rules" ref="formInline" label-width="0px" class="ms-content">
                <el-form-item prop="username">
                    <el-input v-model="formInline.username" style="outline:none" placeholder="请输入用户名">
                        <el-button slot="prepend" icon="el-icon-lx-people"></el-button>
                    </el-input>
                </el-form-item>
                <el-form-item prop="password">
                    <el-input
                        type="password"
                        placeholder="请输入密码"
                        v-model="formInline.password"
                        @keyup.enter.native="submitForm()"
                    >
                        <el-button slot="prepend" icon="el-icon-lx-lock"></el-button>
                    </el-input>
                </el-form-item>
                <div class="login-btn">
                    <el-button type="primary" @click="submitForm('formInline')">登录</el-button>
                </div>
            </el-form>
        </div>
    </div>
</template>

<script>
	import login from "./login.js";
	export default login;
</script>

<style>
	@import url("../../assets/css/common.css");
	@import url("login.css");
</style>